.NET Aspire
based development environment integrationdry cli
.Entity
definition project, including base library extensions, auxiliary classes, etc.DTO
defines the project, which can be shared among multiple applications, such as various model definitions, common configurations, data processing transformations, etc., depending onEntity
.Entity Framework
defines projects that depend onEntity
.Manager
** is a business implementation project, including various services. DependencyShare
,EntityFramework
.WebAPI
** interface project, define and implement controller logic, open to the outside world and run the main program, dependent onApplication
.
Angular
framework, can replace itself.Application
projects to reuse related logic code.Note
There is no module-based development here, nor is there a concept of it. The module here is based on the division of services, splitting the corresponding service implementation on the code to achieve separation of concerns.
Modules have their own business implementation logic and API interface definitions. It refers toApplication
project to achieve business logic reuse, and is referenced byHttp.API
main project to uniformly expose interface access.
The entity model of the module is still defined and managed in the Entity project
Entity
only used to store solid model classes, and all solid models should be placed in the project.
Http.API
handles content related to Web interface interaction, including interface definition, validation and processing of requests and responses, permission authentication, etc. All data is operational or business logic and should not be placed in this project.
Application
projects are primarily used to implement business logic, including third-party interfaces or services that are integrated or invoked.